package com.open.exam.service;

import com.open.exam.mapper.ExamSubjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Description TODO
 * @Author 奶茶
 * Created by on 2019/2/19 16:30.
 */
@Service
@Transactional
public class ExamSubjectService {

    @Autowired
    private ExamSubjectMapper examSubjectMapper;

    /**
     * 查询当前批次下的所有科目id
     * @param examPlanID
     * @return
     */
    public List<String> findAllExamSubjectIDBYExamPlanID(String examPlanID){
        return examSubjectMapper.findAllExamSubjectIDBYExamPlanID(examPlanID);
    }

}
